package com.bjbn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("t_data_sync_log") // 指定表名
public class DataSyncLog {
    @TableId(value = "id", type = IdType.AUTO)
    @TableField("id")
    private Integer id;

    @TableField("before_change")
    private String beforeChange;

    @TableField("after_change")
    private String afterChange;

    @TableField("type")
    private String type;

    @TableField("create_time")
    private Timestamp createTime;

}
